package com.heima.article;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @Description: test
 * @Create by: JJ菜菜
 * @Date: 2022/1/2 20:51
 */

@SpringBootApplication
@MapperScan("com.heima.article.mapper")
@EnableAsync
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.heima.apis")
public class ApHomeArticleApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApHomeArticleApplication.class, args);
    }
}
